<?php

declare(strict_types=1);

namespace App\CustHub\Request;

use Mine\MineFormRequest;

class AffiliateAccountRequest extends MineFormRequest
{
    public function getOauthUrlRules(): array
    {
        return [
            'type' => 'required',
            'url' => 'required'
        ];
    }

    public function saveRules(): array
    {
        return [
            'member_id' => 'required',
            'access_token' => 'required',
            'name' => 'required',
            'expire_time' => 'required',
            'type' => 'required'
        ];
    }

    public function deleteAccountRules(): array
    {
        return [
            'ids' => 'required'
        ];
    }
}